<?php

namespace app\validate;

use think\Validate;

class Order extends Validate
{
    /**
     * 订单验证器
     */
    protected $rule = [
    ];

    public function sceneSupUnitInfo()
    {
        return $this->only (['employ_unit_title','employ_unit_name','employ_unit_mobile'])
            ->append ('employ_unit_title|聘用单位','require')
            ->append ('employ_unit_name|聘用单位联系人','require')
            ->append ('employ_unit_mobile|聘用单位联系方式','require');
    }

}